<extend name="Public:base" />
<block name="main">
	<div class="content">
		<section class="location">
			<i class="iconfont">&#xe60f</i> 位置：<a href="{:U('Index/main')}">管理首页</a> &gt; 修改密码
		</section>
		<ul class="nav-tabs clearfix">
			<li class="active">修改密码</li>
			<eq name="manageInfo.usertype" value="1">
			<li><a href="{:U('index')}">管理员列表</a></li>
			<li><a href="{:U('add')}">新增管理员</a></li>
			</eq>
		</ul>
		<form method="post" action="" id="form">
			<input type="hidden" name="id" id="id" value="{$manageInfo.id}" />
			<input type="hidden" name="username" id="username" value="{$manageInfo.username}" />
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
				<tr>
					<th width="100">用户名</th>
					<td><input type="text" class="form-control form-control-sm" value="{$manageInfo.username}" disabled /></td>
				</tr>
				<tr>
					<th width="100">笔名</th>
					<td><input type="text" name="author" id="author" class="form-control form-control-sm" value="{$manageInfo.author}" /> 修改笔名必须输入密码</td>
				</tr>
				<tr>
					<th>密码</th>
					<td><input type="password" name="oldpassword" id="oldpassword" class="form-control form-control-sm" /></td>
				</tr>
				<tr>
					<th>新密码</th>
					<td><input type="password" name="password" id="password" class="form-control form-control-sm" /> 不修改密码请留空,密码长度6-30</td>
				</tr>
				<tr>
					<th>新密码确认</th>
					<td><input type="password" name="repassword" id="repassword" class="form-control form-control-sm" /></td>
				</tr>
			</table>
			<div class="well"><button type="submit" class="btn btn-theme" id="submit_password">提 交</button></div> 
		</form>
	</div>
</block>